﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Modellayer
{
    [DataContract]
    public class Person
    {

        [DataMember]
        public int phoneNumber { get; set; }

        [DataMember]
        public string email { get; set; }

        [DataMember]
        public string password { get; set; }

        [DataMember]
        public string name { get; set; }

        [DataMember]
        public string loginId { get; set; }

        [DataMember]
        public string type { get; set; }

        public Person()
        {
 
        }

        public Person(int phoneNumber, string email, string password, string name, string loginId, string type)
        {
            this.phoneNumber = phoneNumber;
            this.email = email;
            this.password = password;
            this.name = name;
            this.loginId = loginId;
            this.type = type;
        }

        public Person(int phoneNumber)
        {
            this.phoneNumber = phoneNumber;
        }

        //[DataMember]
        //public int getPhoneNumber
        //{
        //    get { return phoneNumber; }
        //    set { phoneNumber = value; }
        //}

        //[DataMember]
        //public string getSetEmail
        //{
        //    get { return email; }
        //    set { email = value; }
        //}

        //[DataMember]
        //public string getSetPassword
        //{
        //    get { return password; }
        //    set { password = value; }
        //}

        //[DataMember]
        //public string getSetName
        //{
        //    get { return name; }
        //    set { name = value; }
        //}
        
        //[DataMember]
        //public string getSetLoginId
        //{
        //    get { return loginId; }
        //    set { loginId = value; }
        //}

        //[DataMember]
        //public string getSetType
        //{
        //    get { return type; }
        //    set { type = value; }
        //}
    }

}
